package com.talkingdata.hadoop.guard.mapper;

import com.talkingdata.hadoop.guard.bean.SchedulerReport;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SchedulerReportMapper {
    @Insert("insert into scheduler_report (" +
            "cluster_id,queue_name,cost,timestamp) " +
            "values (#{clusterId},#{queueName},#{cost},#{timestamp})")
    int insertSchedulerReport(SchedulerReport schedulerReport);
}
